package BookMethods;

import book.Book;
import book.BookList;

public class ShowMethod implements BookMethods{

    @Override
    public void method(BookList booklist) {
        int currentSize = booklist.getUsedSize();
        for (int i = 0; i < currentSize; i++) {
            Book book = booklist.getBook()[i];
            System.out.println(book);
        }
    }
}
